package com.jjy.service;

import com.jjy.pojo.Goods;
import com.jjy.pojo.User;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("goodsService")
public interface GoodsService {
  Goods getGoodsById(Long goodsId);
  Goods getGoodsByNo(Long goodsId);
  int createGoods(Goods goods);
  List<Goods> getGoodsByParams(Goods goods);
  List<Goods> getAllGoods();
}